package com.yunhuajinfu.entity;
import org.json.*;

import java.io.Serializable;

/**
 * Created by ekikousei易皇星 on 16/11/30.
 * E-mail:13764664731@163.com
 * Signature:缘分是本书,翻的不经意会错过,读的太认真会流泪!!
 * <p/>
 * TODO:类描述:
 */
public class BaoLiInfo implements Serializable{

    private String endStart;   //1：可投资；2：已结束
    private String isDay;      //1：天标；2：月标
    private String borrowTitle;   //标题
    private String published;      //1(未发标)2(已发标)
    private String tenderSum;    //tenderSum
    private String eid;           //标ID
    private String borrowStatus;   //标状态
    private String borrowTimeLimit;   //期限：天数or月数
    private String borrowSum;   //总金额
    private String allowTenderTime;   //允许投标时间
    private String annualInterestRate;    //年利率
    private  String borrowTags;    //
    private  String interestGrowth;   //加息专享

    public String getInterestGrowth() {
        return interestGrowth;
    }

    public void setInterestGrowth(String interestGrowth) {
        this.interestGrowth = interestGrowth;
    }

    public String getBorrowTags() {
        return borrowTags;
    }

    public void setBorrowTags(String borrowTags) {
        this.borrowTags = borrowTags;
    }

    public BaoLiInfo () {

    }

    public BaoLiInfo (JSONObject json) {
        this.endStart = json.optString("endStart");
        this.isDay = json.optString("isDay");
        this.borrowTitle = json.optString("borrowTitle");
        this.published = json.optString("published");
        this.tenderSum = json.optString("tenderSum");
        this.eid = json.optString("eid");
        this.borrowStatus = json.optString("borrowStatus");
        this.borrowTimeLimit = json.optString("borrowTimeLimit");
        this.borrowSum = json.optString("borrowSum");
        this.allowTenderTime = json.optString("allowTenderTime");
        this.annualInterestRate = json.optString("annualInterestRate");
        this.borrowTags=json.optString("borrowTags");
        this.interestGrowth=json.optString("interestGrowth");

    }

    public String getEndStart() {
        return this.endStart;
    }

    public void setEndStart(String endStart) {
        this.endStart = endStart;
    }

    public String getIsDay() {
        return this.isDay;
    }

    public void setIsDay(String isDay) {
        this.isDay = isDay;
    }

    public String getBorrowTitle() {
        return this.borrowTitle;
    }

    public void setBorrowTitle(String borrowTitle) {
        this.borrowTitle = borrowTitle;
    }

    public String getPublished() {
        return this.published;
    }

    public void setPublished(String published) {
        this.published = published;
    }

    public String getTenderSum() {
        return this.tenderSum;
    }

    public void setTenderSum(String tenderSum) {
        this.tenderSum = tenderSum;
    }

    public String getEid() {
        return this.eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getBorrowStatus() {
        return this.borrowStatus;
    }

    public void setBorrowStatus(String borrowStatus) {
        this.borrowStatus = borrowStatus;
    }

    public String getBorrowTimeLimit() {
        return this.borrowTimeLimit;
    }

    public void setBorrowTimeLimit(String borrowTimeLimit) {
        this.borrowTimeLimit = borrowTimeLimit;
    }

    public String getBorrowSum() {
        return this.borrowSum;
    }

    public void setBorrowSum(String borrowSum) {
        this.borrowSum = borrowSum;
    }

    public String getAllowTenderTime() {
        return this.allowTenderTime;
    }

    public void setAllowTenderTime(String allowTenderTime) {
        this.allowTenderTime = allowTenderTime;
    }

    public String getAnnualInterestRate() {
        return this.annualInterestRate;
    }

    public void setAnnualInterestRate(String annualInterestRate) {
        this.annualInterestRate = annualInterestRate;
    }

}
